package com.joysuch.wwyt.list.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class BpListBizQueryBean {

    @NotNull
   private Integer page;

    @NotNull
   private Integer size;

    @ApiModelProperty(value = "清单编号")
    private String listCode;

    @ApiModelProperty(value = "清单名称")
    private String listName;

    @ApiModelProperty(value = "清单类型ID")
    private Long typeId;

    @ApiModelProperty(value = "清单状态：0=草稿，1=发布")
    private Integer state;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始日期")
    private Date startDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束日期")
    private Date endDate;




}
